import java.util.Scanner;

/**
 *
 * 取近似值，4舍5入
 *
 * 最后一个数后面也要有空格
 *
 *
 * @author: YuanChilde
 * @date: 2020-02-17 8:01
 * @version: 1.0
 * Modification History:
 * Date    Author      Version     Description
 * -----------------------------------------------------------------
 * 2020-02-17 8:01    YuanChilde     1.0        新增
 */
public class Demo9 {

    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        float num = sc.nextFloat();
        System.out.println(Math.round(num));
    }

}
